package com.zhuoyue.system.domain.po;

import com.zhuoyue.common.core.domain.BaseEntity;
import com.zhuoyue.system.domain.dto.LocalScenePoReqDTO;
import lombok.Data;
import org.springframework.beans.BeanUtils;

/**
 * @author Administrator
 */
@Data
public class TblLocalScenePo extends BaseEntity {
    private Integer pageNum;
    private Integer pageSize;

    private String organizationCode;
    private String sceneName;
    private String account;

    private String homeId;
    private Long deptId;

    public TblLocalScenePo dtoToDo(LocalScenePoReqDTO localScenePoReq) {
        BeanUtils.copyProperties(localScenePoReq, this);
        return this;
    }
}
